package com.haust.leyou.api;

import com.haust.leyou.pojo.Brand;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Auther: csp1999
 * @Date: 2020/12/13/11:56
 * @Description: 商品品牌相关API
 */
@RequestMapping("/brand")
public interface BrandApi {

    /**
     * 根据品牌id 查询品牌信息
     *
     * @param id
     * @return
     */
    @GetMapping("{id}")
    public Brand queryBrandById(@PathVariable("id") Long id);
}
